package com.situ.spring.dao.impl;

import java.util.ArrayList;
import java.util.List;

import com.situ.spring.dao.IStudentDao;
import com.situ.spring.entity.Student;

public class StudentDaoImpl implements IStudentDao {

	@Override
	public List<Student> selectAll() {
		System.out.println("StudentDaoImpl.selectAll()");
		List<Student> list = new ArrayList<Student>();
		Student student1 = new Student(1, "zhansgan1", 23, "男", null);
		Student student2 = new Student(2, "zhansgan2", 23, "男", null);
		Student student3 = new Student(3, "zhansgan3", 23, "男", null);
		list.add(student1);
		list.add(student2);
		list.add(student3);
		return list;
	}

}
